package com.qiaofang.entity;

import com.qiaofang.common.model.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 楼盘动态信息
 **/
@Data
@Entity
@Table(name = "tm_premises_dynamic")
public class PremisesDynamic extends BaseDomain {
    @ApiModelProperty("主键")
    @Column(name = "id")
    private Long id;

    @ApiModelProperty("楼盘id")
    @Column(name = "premises_id")
    private Long premisesId;

    @ApiModelProperty("创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @Column(name = "update_time")
    private Date updateTime;

    @ApiModelProperty("标题")
    @Column(name = "title")
    private String title;

    @ApiModelProperty("楼盘名称")
    @Column(name = "premises_name")
    private String premisesName;

    @ApiModelProperty("是否在楼盘详细页展示")
    @Column(name = "can_see")
    private char canSee;

    @ApiModelProperty("简介")
    @Column(name = "remark")
    private String remark;

    @ApiModelProperty("内容")
    @Column(name = "content")
    private String content;
}
